package com.tdk.bts.service;

import com.tdk.bts.entity.Theater;
import com.tdk.bts.util.Page;

import java.sql.SQLException;
import java.util.List;

public interface TheaterService {
     Theater findTheaterByScreenId(int id) throws SQLException;

     List<Theater> findAll() throws SQLException;

     Page<Theater> findByPageNo(int pageNo) throws SQLException;

     void deleteTheater(int id) throws SQLException;

     void addTheater(String name, int rows, int cols) throws SQLException;
}
